using UnityEngine;
using System.Collections;

public class GameReference : MonoBehaviour {
	
	public Transform BaseMenuPanel;
	
	public GameObject ConfirmationWindowPrefab;
	public GameObject SetterWindowPrefab;
	public GameObject SetterWindowLargeInputPrefab;
	public GameObject SetterWindowSmallInputPrefab;
	public GameObject SetterWindowMultiOptionListPrefab;
	public GameObject HealthWindowPrefab;
	public GameObject RollWindowPrefab;
	
	public GameObject BrowseSelectSearchWindowPrefab;
	public GameObject CreateSkillWindowPrefab;
	public GameObject NewAbilityWindowPrefab;
	public GameObject NewClassWindowPrefab;
	public GameObject NewRaceWindowPrefab;
	public GameObject NewBuffWindowPrefab;
	public GameObject NewSpellWindowPrefab;
	public GameObject NewItemWindowPrefab;
	public GameObject NewWeaponWindowPrefab;
	public GameObject NewArmorWindowPrefab;
	
	public GameObject AbilityLabelPrefab;
	public GameObject SkillLabelPrefab;
	
	public GameObject PreloaderMenu;
	
	public UIAnchor baseUIAnchor;
	
	public UISkin skin;
	public UISkin[] skins;
	
	public bool SkinChanged = false;
	public bool SkinChangedStart = false;
	
	public static GameReference reference;

	void Awake () {
		reference = this;
		//DontDestroyOnLoad(gameObject);
	}
	
	// Update is called once per frame
	void FixedUpdate () {
		SkinChanged = false;
		if(SkinChangedStart)
		{
			SkinChangedStart = false;
			SkinChanged = true;
		}
	}
}
